<h1>

  Based on the marks You have  {{ results }}

  {% if results>=50 %}
  <h1>You have passed with marks {{results}}</h1>
  {% else %}
  <h2>You have failed with marks {{results}} </h2>
  {% endif %}

</h1>